package com.name.givename.service;

import com.name.givename.dto.UserGiveNameDTO;
import com.name.givename.entity.UserNamedInfoEntity;
import com.name.givename.param.GiveNameAddParams;
import com.name.givename.param.VoteNameParams;
import com.name.givename.utils.Result;

import java.util.List;

/**
 * Created by yangtianrui on 18/9/2.
 */
public interface GivenameAddService {

    /**
     * 用户起名
     * @return 起名实体类型
     */
   Result<List<String>> giveNameAdd(GiveNameAddParams giveNameAddParams);

    /**
     * 用户投票
     * @param
     * @param
     * @return
     */
    Result<UserGiveNameDTO> voteForNames(VoteNameParams voteNameParams);

}
